package com.example.barcodeapp.ui.own.bean;

import java.util.List;

public class PeiLianKeBean {

    /**
     * data : [{"price":"600.00","coursecate":" 双排键","name":"guidsa","pingfen":"5.0","id":2,"dengji":"助教"},{"price":"600.00","coursecate":" 双排键","name":"大萨达萨达","pingfen":"5.0","id":3,"dengji":"助教"},{"price":"800.00","coursecate":" 双排键","name":"哈哈哈","pingfen":"5.0","id":4,"dengji":"助教"}]
     * page : 1
     */
    private List<DataEntity> data;
    private String page;

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public String getPage() {
        return page;
    }

    public class DataEntity {
        /**
         * price : 600.00
         * coursecate :  双排键
         * name : guidsa
         * pingfen : 5.0
         * id : 2
         * dengji : 助教
         */
        private String price;
        private String coursecate;
        private String name;
        private String pingfen;
        private int id;
        private String dengji;

        public void setPrice(String price) {
            this.price = price;
        }

        public void setCoursecate(String coursecate) {
            this.coursecate = coursecate;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setPingfen(String pingfen) {
            this.pingfen = pingfen;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setDengji(String dengji) {
            this.dengji = dengji;
        }

        public String getPrice() {
            return price;
        }

        public String getCoursecate() {
            return coursecate;
        }

        public String getName() {
            return name;
        }

        public String getPingfen() {
            return pingfen;
        }

        public int getId() {
            return id;
        }

        public String getDengji() {
            return dengji;
        }

        @Override
        public String toString() {
            return "DataEntity{" +
                    "price='" + price + '\'' +
                    ", coursecate='" + coursecate + '\'' +
                    ", name='" + name + '\'' +
                    ", pingfen='" + pingfen + '\'' +
                    ", id=" + id +
                    ", dengji='" + dengji + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "PeiLianKeBean{" +
                "data=" + data +
                ", page='" + page + '\'' +
                '}';
    }
}
